﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ZX.BLL.Extend;
using ZX.SYS.Library;
using ZX.DBModule;

namespace ZX.BLL
{
    public class BEntity : BaseBussnies
    {
        public BEntity()
        {
            this.entity = new Entity();
        }


        public override string CheckData()
        {
            if (string.IsNullOrEmpty((this.entity as Entity).EntityName))
            {
                return "实体名不能为空!";
            }
            return base.CheckData();
        }

        //public override bool Insert()
        //{
            ////
            //base.Insert();
            ////----
            //foreach (var en in (this.entity as Entity).ListTemplate)
            //{
            //    this.Insert(en);
            //}
            ////----
            //return true;
        //}
    }
}
